Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug when switching from non-user-code to user-code #25381

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

OwenKephart
Copy link
Contributor

Summary & Motivation

As title. Previous codepaths assumed that for a given instigator, the handled_by_asset_daemon property would never change, which is not the case. To avoid this issue, we ignore the instigator state in these codepaths, and instead use the current value based off of the workspace snapshot.

How I Tested These Changes

Added test which failed before these changes, and now passes.

Changelog

Fixed an issue which would cause AutomationConditionSensorDefinitions to not be evaluated if the use_user_code_server value was toggled after the initial evaluation.

Copy link
Contributor Author

OwenKephart commented Oct 18, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @OwenKephart and the rest of your teammates on Graphite Graphite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant